package com.xhwl.data.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.xhwl.common.dto.cent.sdata.AttrSceneDTO;
import com.xhwl.common.pojo.ResultJson;
import com.xhwl.common.pojo.cent.sdata.AttrScene;
import com.xhwl.common.query.cent.sdata.AttrSceneQuery;

import java.util.List;

/**
 * @Author: zhangliuli
 * @Description:
 * @Date: Create in 2023/4/13
 */
public interface IAttrSceneService extends IService<AttrScene> {

    ResultJson create(AttrSceneDTO attrSceneDTO);

    ResultJson update(AttrSceneDTO attrSceneDTO);

    ResultJson delete(Integer id);

    AttrScene toAttrScene(AttrSceneDTO attrSceneDTO);

    int query(AttrSceneDTO attrSceneDTO);

    int queryCode(AttrSceneDTO attrSceneDTO);

    List<AttrScene> list(AttrSceneQuery attrSceneQuery);

    Page<AttrScene> page(Page page, AttrSceneQuery attrSceneQuery);
}
